# vim: ai ts=2 sts=2 et sw=2

import pygame

import utils

class Pointer():
  def __init__(self, imageName):
    pygame.mouse.set_visible(False)
    
    self.image = utils.load_image(imageName)
    self.rect = self.image.get_rect()
    self.rect.topleft = (0, 0)

  def update(self):
    self.rect.topleft = pygame.mouse.get_pos()

  def draw(self, screen):
    screen.blit(self.image, self.rect)

